<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link href="{ADMIN_THEME}images/reset.css" rel="stylesheet" type="text/css" />
<link href="{ADMIN_THEME}images/system.css" rel="stylesheet" type="text/css" />
<link href="{ADMIN_THEME}images/dialog.css" rel="stylesheet" type="text/css" />
<link href="{ADMIN_THEME}images/main.css" rel="stylesheet" type="text/css" />
<link href="{ADMIN_THEME}images/switchbox.css" rel="stylesheet" type="text/css" />
<link href="{ADMIN_THEME}images/table_form.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="{ADMIN_THEME}js/jquery.min.js"></script>
<script type="text/javascript">
function del(id){
	if(confirm('{lang('a-lin-9')}')){
		var url = "{url('admin/linkage/del/',array('keyid'=>$keyid))}&id="+id;
		window.location.href=url;
	}
}
</script>
<title>admin</title>
</head>
<body style="font-weight: normal;">
<div class="subnav">
	<div class="content-menu ib-a blue line-x">
		<a href="{url('admin/linkage/')}"><em>{lang('a-men-34')}</em></a><span>|</span>
		{if admin_auth($userinfo['roleid'], 'linkage-list')}<a href="{url('admin/linkage/list', array('keyid'=>$keyid))}" class="on"><em>{lang('a-lin-0')}</em></a><span>|</span>{/if}
		{if admin_auth($userinfo['roleid'], 'linkage-addson')}<a href="{url('admin/linkage/addson', array('keyid'=>$keyid))}"><em>{lang('a-add')}</em></a><span>|</span>{/if}
		{if admin_auth($userinfo['roleid'], 'linkage-cache')}<a href="{url('admin/linkage/cache')}"><em>{lang('a-cache')}</em></a>{/if}
	</div>
	<div class="bk10"></div>
	<div class="table-list">
		<form name="myform" action="" method="post">
		<table width="100%" cellspacing="0">
		<thead>
		<tr>
			<th width="50">{lang('a-order')}</th>
			<th width="60" align="left">ID</th>
			<th align="left">{lang('a-lin-13')}</th>
			<th width="50%" align="left">{lang('a-option')}</th>
		</tr>
		</thead>
		<tbody>
		{$list}
		<tr>
			<td colspan="4"><input {if !admin_auth($userinfo['roleid'], 'linkage-editson')}disabled{/if} type="submit" class="button" name="submit" value="{lang('a-order')}" /><div class="onShow">{lang('a-lin-15')}</div>{$pagelist}</td>
		</tr>
		</tbody>
		</table>
		</form>
	</div>
</div>
<script type="text/javascript">
function setC() {
	if($("#deletec").attr('checked')) {
		$(".deletec").attr("checked",true);
	} else {
		$(".deletec").attr("checked",false);
	}
}
</script>
</body>
</html>